package com.itheima.a08polymorphsm;

public class Teacher extends Person{
    @Override
    public void show() {
        System.out.println("老师的信息为:" + getName() + " " + getAge());
    }

    public Teacher(String name, int age) {
        super(name, age);
    }
}
